class CuteCat:
    def __init__(self,cat_name,cat_age,cat_color):
        self.name=cat_name
        self.age=cat_age
        self.color=cat_color


cat1=CuteCat("tom",10,"yellow")

class Student:
    def __init__(self,name,student_id):
        self.name=name
        self.student_id=student_id
        self.grades={"chinese":0,"math":0,"english":0}
    def set_grade(self,course,grade):
        if course in self.grades:
            self.grades[course]=grade

    def print_grades(self):
        print(f"student{self.name}(student_id{self.student_id})is grades")
        for course in self.grades:
            print(f"{course}:{self.grades[course]}")


a=Student("tom","21")
b=Student("tom1","23")
print(a.grades)
print(a.print_grades())

